/**
 * 
 */
package edu.ust.seis610.data;

import org.apache.commons.lang.StringUtils;

/**
 * @author m042872
 *
 */
public class PropertyManager
{
	public static String getProperty(String propName) 
		throws Exception
	{
		String tmp = null;
		
		tmp =System.getProperty(propName);
		
		if(StringUtils.isEmpty(tmp))
			throw new Exception("System Property: "+propName+" Not Found in defaultProperties.properties");
		
		return tmp;
	}
}
